while True:
    guess_num = int(input("请输入你的数字："))
    if guess_num > 7:
        print("大了，再输一次")
    elif guess_num < 7:
        print("太小了，再输一次")
    else:
        print("猜对了")
        break